package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 青竹聊天模板对象 chat_template
 *
 * @author wolong
 * @date 2023-05-18
 */
public class ChatTemplate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 数据库主键
     */
    private Long id;

    /**
     * 青竹聊天表主键
     */
    @Excel(name = "青竹聊天表主键")
    private Long chatId;

    /**
     * 聊天一级分类ID
     */
    @Excel(name = "聊天一级分类ID")
    private Integer chatCategory1Id;

    /**
     * 聊天二级分类ID
     */
    @Excel(name = "聊天二级分类ID")
    private Integer chatCategory2Id;

    /**
     * 聊天三级分类ID
     */
    @Excel(name = "聊天三级分类ID")
    private Integer chatCategory3Id;

    /**
     * 聊天内容
     */
    @Excel(name = "聊天内容")
    private String content;

    /**
     * 角色(0：青竹1：用户)
     */
    @Excel(name = "角色(0：青竹1：用户)")
    private Integer role;


    private Integer answerType;

    /**
     * 用户输入类型(0：输入框 1：单选框)
     */
    @Excel(name = "用户输入类型(0：输入框 1：单选框)")
    private Integer inputType;

    /**
     * 音频文件地址
     */
    @Excel(name = "音频文件地址")
    private String waveUrl;

    /**
     * 是否占位符字符串
     */
    @Excel(name = "是否占位符字符串")
    private Integer isPlaceholderContent;

    /**
     * 下一个聊天ID
     */
    @Excel(name = "下一个聊天ID")
    private String nextChatFlag;

    /**
     * 删除标志(0：未删除 1：已删除
     */
    @Excel(name = "删除标志(0：未删除 1：已删除")
    private Integer yn;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Long getChatId() {
        return chatId;
    }

    public void setChatId(Long chatId) {
        this.chatId = chatId;
    }

    public void setChatCategory1Id(Integer chatCategory1Id) {
        this.chatCategory1Id = chatCategory1Id;
    }

    public Integer getChatCategory1Id() {
        return chatCategory1Id;
    }

    public void setChatCategory2Id(Integer chatCategory2Id) {
        this.chatCategory2Id = chatCategory2Id;
    }

    public Integer getChatCategory2Id() {
        return chatCategory2Id;
    }

    public void setChatCategory3Id(Integer chatCategory3Id) {
        this.chatCategory3Id = chatCategory3Id;
    }

    public Integer getChatCategory3Id() {
        return chatCategory3Id;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getAnswerType() {
        return answerType;
    }

    public void setAnswerType(Integer answerType) {
        this.answerType = answerType;
    }

    public Integer getRole() {
        return role;
    }

    public Integer getInputType() {
        return inputType;
    }

    public void setInputType(Integer inputType) {
        this.inputType = inputType;
    }

    public void setWaveUrl(String waveUrl) {
        this.waveUrl = waveUrl;
    }

    public String getWaveUrl() {
        return waveUrl;
    }

    public void setIsPlaceholderContent(Integer isPlaceholderContent) {
        this.isPlaceholderContent = isPlaceholderContent;
    }

    public Integer getIsPlaceholderContent() {
        return isPlaceholderContent;
    }

    public String getNextChatFlag() {
        return nextChatFlag;
    }

    public void setNextChatFlag(String nextChatFlag) {
        this.nextChatFlag = nextChatFlag;
    }

    public void setYn(Integer yn) {
        this.yn = yn;
    }

    public Integer getYn() {
        return yn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("chatId", getChatId())
                .append("chatCategory1Id", getChatCategory1Id())
                .append("chatCategory2Id", getChatCategory2Id())
                .append("chatCategory3Id", getChatCategory3Id())
                .append("content", getContent())
                .append("role", getRole())
                .append("inputType", getInputType())
                .append("waveUrl", getWaveUrl())
                .append("isPlaceholderContent", getIsPlaceholderContent())
                .append("nextChatFlag", getNextChatFlag())
                .append("yn", getYn())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
